home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
autofx
/
eot_bubble.ifx.pre
< prev
next >
Wrap
Text File
|
2004-08-03
|
1KB
|
56 lines
/*
* $VER: EOT_GaussianBlur.ifx.pre 2.6 (24.04.96)
* Copyright © 1992-1996 Nova Design, Inc.
*
* Written by Gregg William Riedel
*
* Bubbles
*
* Inputs:
* Word(Arg(1),1) = Sequence number (?)
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_Bubble_'
count = GETCLIP(base||'Count')
minr = GETCLIP(base||'MinR')
maxr = GETCLIP(base||'MaxR')
rndn = GETCLIP(base||'Rand')
move = GETCLIP(base||'Move')
orient = GETCLIP(base||'Orient')
IF count = "" THEN count = 10
IF minr = "" THEN minr = 40
IF maxr = "" THEN maxr = 75
IF rndn = "" THEN rndn = 11
IF move = "" THEN move = 5
IF orient = "" THEN orient = 0
Gadget.1 = 'INTEGER 100 5 50 14 "Count:"' count
Gadget.2 = 'INTEGER 100 20 50 14 "Min Radius:"' minr
Gadget.3 = 'INTEGER 100 35 50 14 "Max Radius:"' maxr
Gadget.4 = 'INTEGER 250 5 50 14 "Rand Seed:"' rndn
Gadget.5 = 'INTEGER 250 20 50 14 "Move Rate:"' move
Gadget.6 = 'CYCLE 100 50 200 14 "Move:"' orient '"Up/Down/Left/Right/In/Out"'
Gadget.7 = 'END'
NewComplexRequest '"Bubble Sequence"' Gadget 330 70
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'Count', result.1)
CALL SETCLIP(base||'MinR', result.2)
CALL SETCLIP(base||'MaxR', result.3)
CALL SETCLIP(base||'Rand', result.4)
CALL SETCLIP(base||'Move', result.5)
CALL SETCLIP(base||'Orient', result.6)
EXIT